package com.gqj.meter.domain;

import com.gqj.common.annotation.Excel;
import com.gqj.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 盘点任务详情对象 md_chk_task_details
 *
 * @author lxq
 * @date lxq-02-10
 */
public class MdChkTaskDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("盘点任务详情id")
    private Long taskDetailsId;

    /**
     * 设备码
     */
    @Excel(name = "设备码", width = 30, sort = 4)
    @ApiModelProperty(name = "设备码")
    private String equipCode;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称", width = 30, sort = 5)
    @ApiModelProperty(name = "设备名称")
    private String equipName;

    /**
     * 盘点任务标识
     */
    @ApiModelProperty("盘点任务标识")
    private Long chkTaskId;

    /**
     * 设备ID
     */
    @ApiModelProperty("设备ID")
    private Long assetsId;

    /**
     * rfid编号/条形码
     */
    @ApiModelProperty("rfid编号")
    @Excel(name = "条形码",width = 50)
    private String rfidNo;

    /**
     * 出厂编号
     */
    @ApiModelProperty("出厂编号")
    private String madeNo;

    /**
     * 类别
     */
    @ApiModelProperty("类别")
    private String sortCode;

    /**
     * 类型
     */
    @ApiModelProperty("类型")
    private String typeCode;

    /**
     * 盘点结果：
     * 01：正常
     * 02：盘亏
     * 03：盘盈
     */
    @ApiModelProperty("盘点结果")
    @Excel(name = "盘点结果",dictType = "ctr_chk_result")
    private String chkResult;

    /**
     * 使用设备
     */
    private String useEquipment;

    /**
     * 电压
     */
    @ApiModelProperty("电压")
    @Excel(name = "电压", dictType = "md_volt_code")
    private String voltCode;

    /**
     * 电流
     */
    @ApiModelProperty("电流")
    @Excel(name = "电流", dictType = "md_current_code")
    private String currentCode;

    /**
     * 接线方式
     */
    @ApiModelProperty("接线方式")
    @Excel(name = "接线方式", dictType = "md_wiring_mode")
    private String wiringMode;

    /**
     * 制造单位/生产厂家
     */
    @ApiModelProperty("制造单位/生产厂家")
    @Excel(name = "制造单位", width = 30)
    private String manufacturer;

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getVoltCode() {
        return voltCode;
    }

    public void setVoltCode(String voltCode) {
        this.voltCode = voltCode;
    }

    public String getCurrentCode() {
        return currentCode;
    }

    public void setCurrentCode(String currentCode) {
        this.currentCode = currentCode;
    }

    public String getWiringMode() {
        return wiringMode;
    }

    public void setWiringMode(String wiringMode) {
        this.wiringMode = wiringMode;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getUseEquipment() {
        return useEquipment;
    }

    public void setUseEquipment(String useEquipment) {
        this.useEquipment = useEquipment;
    }

    public void setTaskDetailsId(Long taskDetailsId) {
        this.taskDetailsId = taskDetailsId;
    }

    public Long getTaskDetailsId() {
        return taskDetailsId;
    }

    public void setChkTaskId(Long chkTaskId) {
        this.chkTaskId = chkTaskId;
    }

    public Long getChkTaskId() {
        return chkTaskId;
    }

    public void setAssetsId(Long assetsId) {
        this.assetsId = assetsId;
    }

    public Long getAssetsId() {
        return assetsId;
    }

    public void setRfidNo(String rfidNo) {
        this.rfidNo = rfidNo;
    }

    public String getRfidNo() {
        return rfidNo;
    }

    public void setMadeNo(String madeNo) {
        this.madeNo = madeNo;
    }

    public String getMadeNo() {
        return madeNo;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }

    public String getSortCode() {
        return sortCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setChkResult(String chkResult) {
        this.chkResult = chkResult;
    }

    public String getChkResult() {
        return chkResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("taskDetailsId", getTaskDetailsId())
                .append("chkTaskId", getChkTaskId())
                .append("assetsId", getAssetsId())
                .append("rfidNo", getRfidNo())
                .append("madeNo", getMadeNo())
                .append("sortCode", getSortCode())
                .append("typeCode", getTypeCode())
                .append("chkResult", getChkResult())
                .append("remark", getRemark())
                .toString();
    }
}
